package com.zzxy.spring3.service.text;

import com.zzxy.spring3.service.impl.IAccountService;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

public class Tesr1 {
    @RunWith(SpringJUnit4ClassRunner.class)
    @ContextConfiguration(locations = "classpath:beans8.xml")
    public class Test1 {
        @Autowired
        private IAccountService accountService;
        @Test
        public void test(){
            accountService.transer("jake","rose",1000);
        }
    }
}
